<?php
namespace app\home\model;
use think\Model;

class Systemt extends Model
{
	protected $webName;
	public function getSystem($id=1){
		$mess=Systemt::get($id);
		$mess=$mess->toArray();//对象系列化为数组
		// $mess=$mess->toJson();//对象序列化为json字符串
		// $mess->getAttr('sitename');//获取对象中字段的值

		return $mess;
	}
}